/**
* 
* ====================================================================
*
* @author apov <apov@ymail.com>
*/ 
#pragma once

#include <BaseDefine.h>
#include <vector>

class StateNode;
class StateSet{
	typedef std::vector< StateNode* > Nodes;

public:
	int register_node( char* name );
	StateNode* get_node( int idx );
	StateNode* get_node( char* name );
	int size();

	StateSet( char* name );
	virtual ~StateSet();

	int test();

protected:

private:
	std::string name_;

	Nodes nodes_;
	StateNode* head_;
};
